package edu.hwadee.entity;

import java.sql.Timestamp;

/**
 * Marketchange entity. @author MyEclipse Persistence Tools
 */

public class Marketchange implements java.io.Serializable {

	// Fields

	private Integer marketChangeId;
	private Timestamp createTime;
	private Timestamp updateTime;
	private Float oilPrice;
	private Float partsPrice;
	private Float coalPrice;

	// Constructors

	/** default constructor */
	public Marketchange() {
	}

	/** full constructor */
	public Marketchange(Timestamp createTime, Timestamp updateTime, Float oilPrice, Float partsPrice, Float coalPrice) {
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.oilPrice = oilPrice;
		this.partsPrice = partsPrice;
		this.coalPrice = coalPrice;
	}

	// Property accessors

	public Integer getMarketChangeId() {
		return this.marketChangeId;
	}

	public void setMarketChangeId(Integer marketChangeId) {
		this.marketChangeId = marketChangeId;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public Float getOilPrice() {
		return this.oilPrice;
	}

	public void setOilPrice(Float oilPrice) {
		this.oilPrice = oilPrice;
	}

	public Float getPartsPrice() {
		return this.partsPrice;
	}

	public void setPartsPrice(Float partsPrice) {
		this.partsPrice = partsPrice;
	}

	public Float getCoalPrice() {
		return this.coalPrice;
	}

	public void setCoalPrice(Float coalPrice) {
		this.coalPrice = coalPrice;
	}

}